package com.exrobot.module.rbt.controller.admin.canteenmenu.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 食堂菜单新增/修改 Request VO")
@Data
public class CanteenMenuSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "4521")
    private Long id;

    @Schema(description = "餐厅Id", requiredMode = Schema.RequiredMode.REQUIRED, example = "11918")
    @NotNull(message = "餐厅Id不能为空")
    private Long canteenSn;

    @Schema(description = "菜单编码")
    private Long menuSn;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "名称不能为空")
    private String name;

    @Schema(description = "金额", requiredMode = Schema.RequiredMode.REQUIRED, example = "14112")
    @NotNull(message = "金额不能为空")
    private BigDecimal price;

    @Schema(description = "图片")
    private String img;

    @Schema(description = "信息")
    private String info;

    @Schema(description = "餐位尺寸", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer foodSize;

    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "排序不能为空")
    private Integer sort;

}